cc.Class({
    extends: cc.Component,

    properties: {

    },



    onLoad() {},

    start() {

    },

    update(dt) {
        if (this.node.y <= -10000 || this.node.x <= -10000 || this.node.x >= 10000) {
            this.node.removeFromParent();
        }
    },
});